﻿<?xml version="1.0" encoding="utf-8"?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
  <!-- CSS Files -->
  <CustomAction
  Description="Edit this file with the SharePoint Editor"
  Title="Edit with SPEditor"
  Id="{E538E8C7-65DA-454E-AD87-4A603B6CC569}"
  Location="EditControlBlock"
  RegistrationId="css"
  RegistrationType="FileType"
  Sequence="0"
  ImageUrl="~site/_layouts/images/SPEditor/edit_16x16.png"
  Rights="EditListItems"
  xmlns="http://schemas.microsoft.com/sharepoint/">
    <UrlAction Url="~site/_layouts/SPEditor/SPEditor.aspx?ListId={ListId}&amp;ItemId={ItemId}&amp;SiteUrl={SiteUrl}&amp;Source={Source}"/> 
  </CustomAction>

  <!-- Text Files -->
  <CustomAction
  Description="Edit this file with the SharePoint Editor"
  Title="Edit with SPEditor"
  Id="{E538E8C7-65DA-454E-AD87-4A603B6CC569}"
  Location="EditControlBlock"
  RegistrationId="txt"
  RegistrationType="FileType"
  Sequence="0"
  ImageUrl="~site/_layouts/images/SPEditor/edit_16x16.png"
  Rights="EditListItems"
  xmlns="http://schemas.microsoft.com/sharepoint/">
    <UrlAction Url="~site/_layouts/SPEditor/SPEditor.aspx?ListId={ListId}&amp;ItemId={ItemId}&amp;SiteUrl={SiteUrl}&amp;Source={Source}"/>
  </CustomAction>


  <!-- HTM Files -->
  <CustomAction
  Description="Edit this file with the SharePoint Editor"
  Title="Edit with SPEditor"
  Id="{E538E8C7-65DA-454E-AD87-4A603B6CC569}"
  Location="EditControlBlock"
  RegistrationId="htm"
  RegistrationType="FileType"
  Sequence="0"
  ImageUrl="~site/_layouts/images/SPEditor/edit_16x16.png"
  Rights="EditListItems"
  xmlns="http://schemas.microsoft.com/sharepoint/">
    <UrlAction Url="~site/_layouts/SPEditor/SPEditor.aspx?ListId={ListId}&amp;ItemId={ItemId}&amp;SiteUrl={SiteUrl}&amp;Source={Source}"/>
  </CustomAction>


  <!-- HTML Files -->
  <CustomAction
  Description="Edit this file with the SharePoint Editor"
  Title="Edit with SPEditor"
  Id="{E538E8C7-65DA-454E-AD87-4A603B6CC569}"
  Location="EditControlBlock"
  RegistrationId="html"
  RegistrationType="FileType"
  Sequence="0"
  ImageUrl="~site/_layouts/images/SPEditor/edit_16x16.png"
  Rights="EditListItems"
  xmlns="http://schemas.microsoft.com/sharepoint/">
    <UrlAction Url="~site/_layouts/SPEditor/SPEditor.aspx?ListId={ListId}&amp;ItemId={ItemId}&amp;SiteUrl={SiteUrl}&amp;Source={Source}"/>
  </CustomAction>


  <!-- JS Files -->
  <CustomAction
  Description="Edit this file with the SharePoint Editor"
  Title="Edit with SPEditor"
  Id="{E538E8C7-65DA-454E-AD87-4A603B6CC569}"
  Location="EditControlBlock"
  RegistrationId="js"
  RegistrationType="FileType"
  Sequence="0"
  ImageUrl="~site/_layouts/images/SPEditor/edit_16x16.png"
  Rights="EditListItems"
  xmlns="http://schemas.microsoft.com/sharepoint/">
    <UrlAction Url="~site/_layouts/SPEditor/SPEditor.aspx?ListId={ListId}&amp;ItemId={ItemId}&amp;SiteUrl={SiteUrl}&amp;Source={Source}"/>
  </CustomAction>


  <!-- XML Files -->
  <CustomAction
  Description="Edit this file with the SharePoint Editor"
  Title="Edit with SPEditor"
  Id="{E538E8C7-65DA-454E-AD87-4A603B6CC569}"
  Location="EditControlBlock"
  RegistrationId="xml"
  RegistrationType="FileType"
  Sequence="0"
  ImageUrl="~site/_layouts/images/SPEditor/edit_16x16.png"
  Rights="EditListItems"
  xmlns="http://schemas.microsoft.com/sharepoint/">
    <UrlAction Url="~site/_layouts/SPEditor/SPEditor.aspx?ListId={ListId}&amp;ItemId={ItemId}&amp;SiteUrl={SiteUrl}&amp;Source={Source}"/>
  </CustomAction>

  <!-- XSL Files -->
  <CustomAction
  Description="Edit this file with the SharePoint Editor"
  Title="Edit with SPEditor"
  Id="{E538E8C7-65DA-454E-AD87-4A603B6CC569}"
  Location="EditControlBlock"
  RegistrationId="xsl"
  RegistrationType="FileType"
  Sequence="0" 
  ImageUrl="~site/_layouts/images/SPEditor/edit_16x16.png"
  Rights="EditListItems"
  xmlns="http://schemas.microsoft.com/sharepoint/">
    <UrlAction Url="~site/_layouts/SPEditor/SPEditor.aspx?ListId={ListId}&amp;ItemId={ItemId}&amp;SiteUrl={SiteUrl}&amp;Source={Source}"/>
  </CustomAction>
</Elements>
